import Vue from 'vue';
import Router from 'vue-router'
const OneNews = () => import('../components/OneNews')
const MoneyNews = () => import('../components/MoneyNews')

Vue.use(Router)

export default new Router({
    routes:[
        {
            path: '/',
            name: 'noeNews',
            component: OneNews
        },
        {
            path: '/moneyNews',
            name: 'moneyNews',
            component: MoneyNews
        }
    ]
});